package com.gable.exhibition.dao;

import com.gable.exhibition.model.City;

import java.util.List;

public interface CityDao {
    int deleteByPrimaryKey(Long cityId);

    int insert(City record);

    int insertSelective(City record);

    City selectByPrimaryKey(Long cityId);

    int updateByPrimaryKeySelective(City record);

    int updateByPrimaryKey(City record);

    /**
     * 获取城市列表
     * @param provinceId
     * @Create date 2018/2/6
     * @Create user jacky
     * @return
     */
    List<City> queryCity(Long provinceId);
}